import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入全局样式
import '@/assets/css/index.less'
//引入swiper样式
import 'swiper/css/swiper.css'

//引入MockServer.js----mock数据
import '@/mock/mockServe'
// 全局引入UI库
import '@/plugins/elementUI'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  router,
  store
}).$mount('#app')
